@font-face {
    font-family: 'Unf';
    src: url("./unifont-16.0.01.otf") format('opentype');
}


.red {
    color: darkred;
}
.gold {
    color: goldenrod;
}
.hide {
    color: #00FFFF00;
    background-color: #FFFFFF7F;
    border: 2px solid goldenrod;
}
.s114 {
    font-size: 32px;
    line-height: 48px;
    font-family: Unf, "sans-serif";
    display: inline;
}
.s514 {
    font-size: 24px;
    line-height: 32px;
    font-family: Unf, "sans-serif";
    display: inline;
}
.main {
    display: inline-block;
    padding: 24px 32px;/* 24-8=16 */

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.bg {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: linear-gradient(60deg, darkmagenta, darkcyan 47.5%, darkcyan 52.5%, darkgreen);
}


/* CSS样式 */
body {
    font-family: Unf, "sans-serif";
    text-align: center;
    }
    
    input[type="text"] {
        font-family: Unf, "sans-serif";
        font-size: 24px;
        width: 150px;
        padding: 5px;
        margin-bottom: 10px;
    }
    
    button {
        font-family: Unf, "sans-serif";
        padding: 20px 50px;
        font-size: 32px;
        background-color: #4CAF50;
        color: white;
        border: none;
        border-radius: 10px;
        cursor: pointer;
    }
    
    #result {
        font-size: 48px;
        line-height: 48px;
        font-weight: bold;
        color: darkgreen;
        display: inline;
        margin-top: 20px;
    }